package com.sm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author onetime
 * @date 2022年2月19日23:39:37
 * @TableName class
 */
@TableName(value = "class")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Class implements Serializable {
    /**
     *
     */
    @TableId(value = "id")
    private Integer id;

    /**
     *
     */
    @TableField(value = "class_name")
    private String class_name;

    /**
     *
     */
    @TableField(value = "student_id")
    private Integer student_id;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}